<template>
	<web-view :src="link"></web-view>
</template>

<script>
	export default {
		data() {
			return {
				link: ''
			}
		},
		onLoad(option) {
			this.link = window.location.origin + option.link;
			if (option.title) {
				uni.setNavigationBarTitle({title: option.title});
			}

		},
		methods: {
			
		}
	}
</script>

<style>
</style>